package com.cn.xiaonuo.slbfinances.slpabank.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.xiaonuo.slbfinances.slpabank.entity.SlPaDzOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CmPaDzOrderMapper extends BaseMapper<String> {
    List<SlPaDzOrder> querySlPaDzOrderList(@Param("type") String type, @Param("dateStr")String dateStr);

    Double sumTotalMoney( @Param("type")String type,@Param("dateStr")String dateStr);

    Double sumCommission( @Param("type")String type,@Param("dateStr")String dateStr);


    List<Map<String,Object>> querySlPaFzOrderList(@Param("pay_channel_tran_seq_no")String type, @Param("shop_payment_id")String shop_payment_id);
}
